package com.infore.siteManagement.entity;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


/**
 * The persistent class for the STATION_CLASSIFY database table.
 * 站点类别表
 */
@Entity
@Table(name="STATION_CLASSIFY")
@NamedQuery(name="StationClassify.findAll", query="SELECT s FROM StationClassify s")
public class StationClassify implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	@Column(name="STATION_CLASSIFY_ID")
	private String stationClassifyId;

	/**类别编码**/
	@Column(name="STATION_CLASSIFY_CODE")
	private String stationClassifyCode;

	/**类别名称**/
	@Column(name="STATION_CLASSIFY_NAME")
	private String stationClassifyName;

	/**备注**/
	@Column(name="STATION_CLASSIFY_REMARK")
	private String stationClassifyRemark;

	/**最后修改时间**/
	@Temporal(TemporalType.TIMESTAMP)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name="STATION_CLASSIFY_TIME")
	private Date stationClassifyTime;

	public StationClassify() {
	}

	public String getStationClassifyId() {
		return this.stationClassifyId;
	}

	public void setStationClassifyId(String stationClassifyId) {
		this.stationClassifyId = stationClassifyId;
	}

	public String getStationClassifyCode() {
		return this.stationClassifyCode;
	}

	public void setStationClassifyCode(String stationClassifyCode) {
		this.stationClassifyCode = stationClassifyCode;
	}

	public String getStationClassifyName() {
		return this.stationClassifyName;
	}

	public void setStationClassifyName(String stationClassifyName) {
		this.stationClassifyName = stationClassifyName;
	}

	public String getStationClassifyRemark() {
		return this.stationClassifyRemark;
	}

	public void setStationClassifyRemark(String stationClassifyRemark) {
		this.stationClassifyRemark = stationClassifyRemark;
	}

	public Date getStationClassifyTime() {
		return this.stationClassifyTime;
	}

	public void setStationClassifyTime(Date stationClassifyTime) {
		this.stationClassifyTime = stationClassifyTime;
	}

}